package com.senmiao.ssm.mapper;

import com.senmiao.ssm.entity.Admin;

import java.util.Collection;
import java.util.Set;

public interface AdminMapper {
    Set<String> listPermissionsByUsername(String username);

    Set<String> listRolesByUsername(String username);

    Set<String> listPermissionsByRoles(Collection<String> roles);


    Admin getByUsername(String username);
}